// 异步路由配置-静态配置，默认路由
const routesConfig = [
  {
    authority: '*',
    path: '/login',
    component: () => import('@/pages/login')
  },
  {
    path: '/',
    name: '首页',
    id: '33521349732361961231', //动态路由加载容器, 如需更改全局搜索更改
    redirect: '/login',
    component: import('@/layouts/tabs/TabsView'),
    children: []
  },
  {
    name: '404',
    path: '404',
    component: () => import('@/pages/exception/404')
  },
  {
    authority: '*',
    name: '403',
    path: '403',
    component: () => import('@/pages/exception/403')
  }
]

const options = {
  routes: routesConfig
}

export default options
